package com.woniu.atms.vo.aft.car;

import com.woniu.atms.vo.PageInfoVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author 张奇
 * @title: CarStatusVo
 * @projectName g5_atms
 * @description: TODO
 * @date 2022/1/20 11:48
 */
@Setter
@Getter
@ToString
public class CarStatusVo {
  @NotNull(message = "车辆状态状态不能为null")
  @NotBlank(message = "车辆状态不能为空字符串")
  @Size(max = 1,min = 1,message = "状态必须为1字符")
  private String status;

  @Valid
  private PageInfoVO pageInfoVO;
}
